<template>
  <div class="detail-swiper">
    <el-carousel trigger="click" height="350px">
      <el-carousel-item v-for="item in topImages" :key="item">
        <el-image
            :src="item"
            style="object-fit: cover"
          ></el-image>
      </el-carousel-item>
    </el-carousel>
  </div>
</template>

<script>
export default {
    props:{
        topImages:{
            type:Array,
            default(){
                return []
            }
        }
    }
}

</script>
<style scoped>
</style>